package com.zhiyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhiyou.model.FyMyCommission;

public interface CommissionMapper {

	//增加代办
	 void add(FyMyCommission commission);
	 //删除待办
	 void delete(@Param("commission_id")Integer commission_id);
	 //根据id查询
	 FyMyCommission selectByid(@Param("commission_id")Integer commission_id);
	 //查询全部
	 List<FyMyCommission> selectall();
	 //修改待办
	 void update(FyMyCommission commission);
	 //跟改待办为已读
	 void readed();
	 
}
